// 默认是PC端
//
.nav-kong {
     position: absolute;
       background-color: pink;
       height: 60px;
       img {
        margin-top: -5px;
       }
   .w {
    a:nth-child(3) {
         display: block;
    width: 100px;
    height: 50px;
    float: right;
    font-size: 20px;
    line-height: 50px;
    }
    a:nth-child(2) {
          font-size: 20px;
           line-height: 50px;
    }
   }
   display: none;
}
//顶部导航
.nav {
    height: 60px;
    line-height: 60px;
    border-bottom: 1px solid gray;
     li:nth-child(2) {
        border-left: 1px solid gray;
        border-right: 1px solid gray;
    }
     li:nth-child(3) {
      
        border-right: 1px solid gray;
    }
    li {
        float: left;
        padding: 0 50px;
        a:hover {
            color: red;
        }
       &:last-child {
            border-right:none ;
        }
        &:last-child a {
            display: block;
            width: 68px;
            height: 32px;
            line-height: 32px;
            color: black;
            float: left;
            text-align: center;
            margin-top: 15px;
            margin-right: 10px;
            border-radius: 5px;
        }
          &:nth-child(4) {
            a:hover {
                  background-color: red;
            }
            }

    }
     
} 
//第二个导航
.nav2 {
    height: 60px;
    background-color: white;
  
    a {
        color: black;
    }
    img {
        float: left;
      height: 40px;
      margin-top: 10px;
    }
    li {
        float: left;
        padding: 20px 20px;
    }
    .two {
        a {
            display: inline-block;
            width: 80px;
            height: 50px;
           padding-top: 20px;
           padding-right: 108px;
        }
        a:hover {
            color: red;
        }
    }
    .kong {
        width: 50px;
        height: 40px;
        display: none;
        position: absolute;
    }


}
//图片
 .body1 {
img {
    width: 100%;
}
 }
//投资
.body2 {
    background-color: white;
    height: 100px;
    border-bottom: 1px solid gray;
   padding: 20px 0px;
   box-sizing: border-box;

   .w {
    position: relative;
    dl {
        float: left;
        font-size: 18px;
        color: black;
    }
    dt {
        font-size: 20px;
        font-weight: bold;
    }
     dl:nth-child(2) {
            position: absolute;
            left: 50%;
            transform: translate(-50%);
        }
         dl:last-child {
           float: right;
        }
   }
}
// 预告
.body3 {
    background-color: white;
    height: 80px;
    border-bottom: 1px solid gray;
    p,span {
        padding-top: 10px;
        font-size: 14px;
        line-height: 2em;
        color: black;
    }
    .w {
    a:nth-child(3) {
        color:rgb(60, 60, 211) ;
    }
    a:nth-child(4) {
        color: orange;

    }
}
}
//推荐
.body4 {
    background-color: #EFEFEF;
    height: 1024px;
 
    .one {
        height: 60px;
        border-bottom: 1px solid gray;
        background-color: white;
        box-shadow:4px 4px 6px 3px gray;
    }
    li {
        float: left;
        padding-left: 20px;
        padding-top: 10px;
        font-size: 20px;
        color: black;
    }
     .second-nav {
      
        height: 50px;
        background-color: pink;
        box-sizing: border-box;    
        margin-top: 8px;   
        margin-left: 32px;
    }
    .xiaosanjiao {       
               width: 0;          
                height: 0;          
                    border-left:10px solid transparent;         
               border-right: 10px solid transparent;         
                border-top: 10px solid transparent;         
                  border-bottom: 10px solid pink;   
                  margin-top: -70px;
                  margin-left: 54px;
                
    }
    .two {
          .round {
            position: absolute;
            left:182px;
            top: 0px;
            width: 20px;
            height: 10px;
            border-radius: 0px 0px 10px 10px ;
            background-color: white;
        }
        .round2 {
            position: absolute;
            left:182px;
            top: 90px;
            width: 20px;
            height: 10px;
            border-radius: 10px 10px 0px 0px ;
            background-color: white;

        }
        .pu {
            width: 350px;
            height: 100px;
            background-color: red;
            margin-left:20px ;
            margin-top: 20px;
            border-radius: 10px;

            p {
             line-height: 1.5em;
            }
            p:nth-child(2n+1) {
                color: white;
                font-size: 14px;
            }
              p:nth-child(2n) {
                color: gray;
                font-size: 10px;
            }
              p:nth-child(6) {
                width: 40px;
                height: 15px;
                display: block;
                margin: -72px 146px;
                color: gray;
            }
            p:nth-child(7) {
                width: 40px;
                height: 15px;
                display: block;
                margin: 71px 150px;
                color: white;
            }
            p:nth-child(8) {
                width: 55px;
                height: 15px;
                display: block;
                margin: -64px 132px;
                color: gray;
            }
             p:nth-child(9) {
                float: right;
              font-size: 20px;
                color: white;
                margin-top: 14px;
                margin-right: 48px;
                display: block;
                 width: 56px;
                height: 40px;

            }
               p:nth-child(10) {
                display: block;
                width: 54px;
                height: 40px;
                float: right;
               font-size: 18px;
                color: white;
               margin-top: 40px;
               margin-right: -52px;
             
                
            }

        }
        .line {
            position: absolute;
            left: 190px;
            top: 10px;
            width: 0px;
            height: 89px;
            border: 1px dashed gainsboro;
        }

        .red-one {
            position: relative;
        margin-top: 70px;
        }
          .red-two  {
            margin-top: 70px;
            position: relative;
        }
          .red-three {
            position: relative;
             
        }
          .red-four {
            position: relative;
            
        }
          .red-five {
            position: relative;
            
        }
    }
  

}


// iPad端
@media only screen and (min-width:768px) and (max-width:1024px) {
    .w {
            width: 100%;
            max-width: 768px;
        }
      .nav {
        li:first-child {
            display: none;
        }
      }
      .nav2 {
        li{
            padding-left: 12px;
        }
         .two {
            display: none;
         }
      }
      .body3 {
        padding-left: 12px;
      }
      .body2 {
        padding-left: 12px;
        dl:last-child {
            padding-right: 10px;
        }

      }
      .nav2 img {
        padding-left: 12px;
        }
      }
     
    
// 移动端
@media only screen and (min-width:320px) and (max-width:430px) {
     .w {
            width: 100%;
        }
        .nav-kong {
            width: 100%;
        display: block;
        position: fixed;
        z-index: 101;
        background-color: white;
        box-shadow:1px 2px 5px 2px gray;
    }
        .nav {
            display: none;
        }
        .nav2 {
            display: none;
        }
    .body2 {
        display: none;
    }
    .body1 {
       padding-top: 60px;
    }
    .one {
          overflow: scroll;
          li {
            font-size: 12px;
            margin-top: 10px;
          }
          
      
    }
    .body3 {
        height: 130px;
    }
    .body4 {
        .two {
            .red-two {
                margin-top: 20px;
            }
        }
    }
    body {
         position: relative;

    }
     .cover{
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                background-color: rgba(0, 0, 0, 0.5);
                transform: translate(-100%);
                box-sizing: border-box;
        
                a {
                    color: white;
                    padding-left: 20px;
                    font-size: 20px;
        
                }
                z-index: 102;
            }
        
            .cover:target {
                transform: translate(0);
                transition: all 1s linear;
            }
  
               
            
}